import request from '@/utils/request'

// 查询视频文案列表
export function listVideoLineItem(query) {
  return request({
    url: '/video/VideoLineItem/list',
    method: 'get',
    params: query
  })
}

// 查询视频文案详细
export function getVideoLineItem(id) {
  return request({
    url: '/video/VideoLineItem/' + id,
    method: 'get'
  })
}

// 新增视频文案
export function addVideoLineItem(data) {
  return request({
    url: '/video/VideoLineItem',
    method: 'post',
    data: data
  })
}

// 修改视频文案
export function updateVideoLineItem(data) {
  return request({
    url: '/video/VideoLineItem',
    method: 'put',
    data: data
  })
}

// 删除视频文案
export function delVideoLineItem(id) {
  return request({
    url: '/video/VideoLineItem/' + id,
    method: 'delete'
  })
}
